//
//  UIImage+ZZExtends.h
//  SWS
//
//  Created by zjszyms on 16/1/12.
//  Copyright © 2016年 zjszyms. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (ZZExtends)

- (UIImage *)circle;

- (UIImage *)circleWithborderWidth:(CGFloat)borderWidth
                       borderColor:(UIColor *)borderColor;

- (UIImage *)scalToSize:(CGSize)size;

+ (UIImage *)imageWithColor:(UIColor *)color
               cornerRadius:(CGFloat)cornerRadius;

+ (UIImage *)circleImageWithColor:(UIColor *)color
                             size:(CGSize)size;


@end
